export interface ResponseData {
  code: number,
  message: string,
  ok: boolean
}


// 已有品牌的数据类型
export interface TradeMark {
  id?: number,
  name: string,
  date: string,
  city: string,
  address: string,
  desc: string
}

export type Records = TradeMark[]

export interface TradeMarkResponseData extends ResponseData {
  data: {
    total: number, // 总条数
    pageNum: number, // 第几页
    pageSize: number, // 每页条数
    pages: number, // 总页数
    searchCount: boolean,
    records: Records
  }
}
